package com.baoer;

/**
 * @Author: YING
 * @CreateTime: 2025-04-07
 * @Description:
 * @Version: 1.0
 */
public enum RCode {

    SUCCESS(200, "操作成功"),
    FAIL(500, "操作失败"),
    UNAUTHENCATIED(403, "没有访问权限");

    private int code;
    private String msg;

    private RCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}
